package unittest;

import java.io.File;

import unittest.ThreadAnnotationMethodToTest;
import multithread.framework.tool.TestCaseGenerator;
import multithread.framework.tool.XMLGenerator;

public class getXML {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		XMLGenerator generateorXML = new XMLGenerator(new File("c:\\test.xml"));
		TestCaseGenerator generatorTestCase = new TestCaseGenerator(
				generateorXML);
		//the test case which want to generate XML
		ThreadAnnotationMethodToTest testCaseObject=new ThreadAnnotationMethodToTest();
		generatorTestCase.write(testCaseObject);
		generatorTestCase.generate();
	}

}
